x11: Initial cut at supporting window scaling for X11
authorAlexander Larsson <alexl@redhat.com>
Thu, 20 Jun 2013 09:40:07 +0000 (11:40 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 3 Jul 2013 12:34:14 +0000 (14:34 +0200)
commit525e5cff04f66b87314e91ef408525f02923c14b
tree1ebf4782cd52c43d343321ad5956a3bc98738233
parented4fcee4c62a50c1b4fa612f4ba0fc96031cb9af
x11: Initial cut at supporting window scaling for X11

If you set GDK_SCALE=2 in the environment then all windows will be
scaled by 2. Its not an ideal solution as it doesn't handle
multi-monitors at different scales, and only affects gtk apps.
But it is a good starting points and will help a lot on HiDPI
laptops.
13 files changed:
gdk/x11/gdkdevice-core-x11.c
gdk/x11/gdkdevice-xi2.c
gdk/x11/gdkdevicemanager-core-x11.c
gdk/x11/gdkdevicemanager-xi2.c
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkgeometry-x11.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkscreen-x11.c
gdk/x11/gdkscreen-x11.h
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkwindow-x11.h